<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单</title>
</head>
<body>
    <!-- https://www.baidu.com/?account=admin&pw=123456 -->
    <form action="https:\\www.baidu.com">
        账号: <input type="text" name='account'>
        <hr>
        密码: <input type="password" name="pw">
        <hr>
        <input type="submit" value="提交">
        <hr>
        性别:
        <input type="radio" name='gender' value="1"> 男
        <input type="radio" name='gender' value="0"> 女
        <hr>
        爱好:
        <input type="checkbox" name="hobby"> 睡觉
        <input type="checkbox" name="hobby"> 吃饭
        <input type="checkbox" name="hobby"> 足球
        <input type="checkbox" name="hobby"> 游戏
        <input type="checkbox" name="hobby"> 谈恋爱
        <hr>
        籍贯:
        <select name="resident" id="">
            <option value="0">-请选择-</option>
            <option value="sx">陕西</option>
            <option value="sd">山东</option>
            <option value="js">江苏</option>
        </select>

    </form>
</body>
</html>